# 临时文件夹常量
user_temp_folder_root = "./tempfiles"
user_temp_folder_libretto = "/libretto"
libretto_file_bucket_prefix = "libretto"
libretto_file_bucket_separator = "-"
chat_messages_key_separator = "-"
episode_preview_content_wrapper = "\n"

# 字典表类型
DICT_LIBRETTO_STATUS = "LIBRETTO_STATUS"
DICT_EPISODE_SYNOPSIS_FORMAT = "EPISODE_SYNOPSIS_FORMAT"
DICT_SCENE_SYNOPSIS_FORMAT = "SCENE_SYNOPSIS_FORMAT"
DICT_SCENE_CONTENT_FORMAT = "SCENE_CONTENT_FORMAT"
DICT_CHAPTER_SYNOPSIS_FORMAT = "CHAPTER_SYNOPSIS_FORMAT"
DICT_CHAPTER_CONTENT_FORMAT = "CHAPTER_CONTENT_FORMAT"
DICT_GENRE_TYPE = "GENRE_TYPE"
DICT_HISTORICAL_BACKGROUND = "HISTORICAL_BACKGROUND"
DICT_NOVEL_SYNOPSIS_FORMAT = "NOVEL_SYNOPSIS_FORMAT"
DICT_NOVEL_OUTLINE_FORMAT = "NOVEL_OUTLINE_FORMAT"
DICT_ORDER_STATUS = "ORDER_STATUS"
DICT_AMOUNT_TOKENS_MAP = "AMOUNT_TOKENS_MAP"
DICT_PREFERENTIAL_TOKENS_MAP = "PREFERENTIAL_TOKENS_MAP"

# 支付
PAY_DESCRIPTION = "订单支付-订阅费用"
PAY_METHOD_WECHAT = "微信"
PAY_METHOD_ALIPAY = "支付宝"

# 订单状态
ORDER_STATUS_PENDING = "pending"
ORDER_STATUS_PAID = "paid"
ORDER_STATUS_CANCELLED = "cancelled"
ORDER_STATUS_REFUNDED = "refunded"
ORDER_STATUS_FAILED = "failed"

# 用户操作类型
USER_OPERATION_VISITOR_REGISTRATION = "VISITOR_REGISTRATION"
USER_OPERATION_USER_LOGIN = "USER_LOGIN"

